Cleanup login, added angular-resource as dependency (temporarily), working on JWT token based authentication, working on an API with restangular