FE - Logout template and login controller