Added Buttons and implemented logout button