Make the login give back feedback

Allow the login functionality to give feedback to the user regarding
their error. Also fixed some parts of the UI for the form.