     }
 
     /**
-     Lays out the Anonymous Button
-     */
-    public func layoutAnonymousButton() {
+     Lays out the Submit Button
+     */
+    public func layoutSubmitButton() {
         submitButton.constrainEqual(.LeadingMargin, to: view)
         submitButton.constrainEqual(.TrailingMargin, to: view)
         submitButton.constrainEqual(.BottomMargin, to: passwordField, .BottomMargin, multiplier: 1.0, constant: 55)

    public func loginAction() {
        waterwheel.login(usernameField.text!, password: passwordField.text!) { (success, response, json, error) in
            if (success) {
                self.removeAnonymousSubviews()
                self.setupAuthenticatedView()
            } else {
                print("failed to login")
            }

     */
    public func logoutAction(success: Bool, error: NSError?) {
        if (success) {
            self.showAnonymousSubviews()
        } else {
            print("failed to logout")
        }
        self.logoutRequestCompleted(success: success, error: error)
    }


    public func cancelAction() {
        self.cancelButtonHit()
    }

    override public func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
