Changed the login view and some minor changes.