Fixed Logout Bug

Fixed the bug where on clicking logout while logged in, the username
would still be displayed.