A  lot of refactor from HomeController to Logout