 
     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)

        loginButton.setTitle("Log In", for: .normal)
        addSubview(loginButton)
        
        registerButton.backgroundColor = .clear
        registerButton.layer.cornerRadius = 5
        registerButton.layer.borderColor = UIColor.black.cgColor
        registerButton.layer.borderWidth = 1
        registerButton.layer.masksToBounds = true
        registerButton.setTitleColor(.black, for: .normal)
        registerButton.titleLabel?.font = UIFont.systemFont(ofSize: 15)
        registerButton.setTitle("Register a New Account", for: .normal)
        addSubview(registerButton)

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