Implemented Logout and other UI improvements
Added comments and few UI updates

Added comments and few UI updates