A user can use the login.html form which uses a submit button which calls an angular post method and sends the username/email and password to login.php where a MySQL table is stored. The rest of the user's information are gathered from the table and stored in $_SESSION, the session is json-encoded and sent back to angular.js.A user can use the login.html form which uses a