Added auto layout to the login screen.