Moving the login form to the nav bar and redirect to posts on login