Consistency fixes
Fixed CORS
Added authentication to the web app