fully refactored jdbc user classes