Added log out button and layout for adding classes