fix deadlock redirect when getUser return empty user