created a store for medrep and district manager and create a controller function to show all generated codes