Updated Login so it hides the password confirmation

The password confirmation is now hidden if the user decides to click
login while in the register section of the app.