Connected the Unit Selectionpage to the database for Pilot