fixed error on new user login