Added logout and settings buttons.