logs in automatically when token fails