Added sign out function
Refactored code to prep for data querying functionalities
Added more useless code for now
Merge pull request #49 from xue0chao/master

Added sign out function