putting logout button in upper corner