user login bugfix