login user bug fix