Refactoring of RegisterController.java #59 #60