bound login logic to application and connected collectorNumber from view