Refactoring for my messages service and enabled population register