added services to controllers to reduce http calls