Login & logout

- Include company & cache services
- Refactor updateAuth, login & logout into their own factory method
- Remove common controller as it is obsolete