validate presence of user_id for project