* implemented registration and login with ng-token-auth