Having a Login doesn’t really do anything if users can’t sign up. To make things easier, let’s generate a Controller and some Views for the Users. Using the New User View, we can remove the failed login attempts field and change the password text field to a passwordField. Now we need to tweak the CreateUserAction we just generated. We need to validate the email and check that the password is not empty. You can add your own validations to check things like password strength. We also need to convert the password into a hash and save it in the user. After signing up we want to be redirected to the signup page. Let’s quickly add a Sign Up button to our navbar when no user is logged in. Now we can sign up and use the created user to log in.