Very initial work on the security model
Licensing and copyright policy compliance
Added some niceties
Merge branch 'auth' into frontend