Moves path_kwargs check to User model from RegisterController