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