feat(app.js) : add session control by using an $http interceptor

- If we receive a 401 http status error, we redirect to the login page.