removed hardcoded use of userID