1) move header/footer to index.html 2) add requireAuthenticated method to authenticateService so redirect will happen if user is accessing some url that requires login. 3) Check current user in the appController.