Added logout user and check auth
Finished implementing Users in the Javascript API