fixed getUserData in admin