log to backend but then go to the login screen