fix problem with loading users, was using wrong user type