feat(controller): dynamically disable user registration

fixes #547