Added red class for input

used for indicating that field input is invalid
Set login fields to red on failed login
Changed to HTML5 autofocus

instead of JavaScript
Added change_details form validation

Prevents submission of forms if name is too short, email is invalid,
passwords are too short, or new passwords do not match