Fixed DB connected rest service creation