Get custom user model

Fixed the error "AttributeError: Manager isn't available; User has been swapped for 'users.User'"