simple authentication for angularjs app