check for empty user id