add a simple service with database access