Remember user id on logout and failed login