moved the login stuff to top view