using python rich comparison
Custom user model fixes