Added auth library
auth working
Fixed more auth issues, added client id and created timestamp to creation
removed old models
Merge branch 'auth'