Database getusers fixed