added logout button support in controller
Logout button works!!!
button now dissapears when you are logged out