Refactored userservice to use new dbservice class