add a login service and hook it up to the main controller