getting users in db but not able to log in yet