login page now redirects to client if already logged in