Updated database classes to include getUser()