 
     private let viewHeight = 210 // Overall height of the view
     private let loginButtonHeight = 50
+    private let loginButtonWidthScale = 0.8
+    
     private let topMargin = 15
-    private let loginButtonSizeRatio = 0.8
+    private let middleMargin = 35
     
     private let loginButton = UIButton(type: .system)
     private let registerButton = UIButton(type: .system)

        rect = registerButton.frame
        rect.size.height = 44
        rect.size.width *= 1.2
        rect.origin.y = bounds.size.height - rect.size.height
        rect.origin.x = (bounds.size.width - rect.size.width) * 0.5
        registerButton.frame = rect
    }

        
        var rect = loginButton.frame
        rect.origin.y = CGFloat(topMargin)
        rect.size.width = bounds.size.width * CGFloat(loginButtonWidthScale)
        rect.size.height = CGFloat(loginButtonHeight)
        rect.origin.x = (bounds.size.width - rect.size.width) * 0.5
        loginButton.frame = rect
