Added code to create record and retreive company,record and admin data