check if user id exists