restructure to limit  exposure, regarding user information and database object