brought http from model level to controller level to establish model as Plain-old JavaScript Object, modified register/login form to utilize ng-submit instead of ng-click