UPDATE: added logout feature and improved the layout of other stuff