REST service is now using database