Handle log in and sign up when user is already logged in