Logout added

Logout added in the logout button and when the frame is disposed