throw error if user is too old to register