Add angular ui router. Add two states: login and alarms. Implement a basic auth service.