AngularJS signin, signup and logout work