WIP
Got basic authentication working
Merge branch 'rest-api'