Implemented Logout and added Logout option to menu