fixes in userExists()