More efficient way to get the correct user model