fixed bad getUser() architecture