added login screen, ng-resource