Angular service

AuthService source

provides generic functions for authorization process.