Create User class for API

Create User class , with 3 subclasses CurrentUser, Admin, and Peer
Create test cases for CurrentUser
implimented CurrentUser into front-end.js and demo site code.