Simple authentification app with angularjs and php session