Login page completed

Finished up the functionality for the login page. However, it pops up
separate error message panes for an incorrect username and password. If
the username is wrong, the password error message always pops up as
well. Fairly minor anyway.