using ng-submit for the login form