added RegisterController in controllers.js