Changes in HomeController.php - showRegister, doRegister, showLogin, doLogin, doLogout functions added