patching for 1.5 custom user model