Added framework for auth management
Merge branch 'master' into login-angular