insert/get a customer with database is implemented