support for custom user model and base template put in settings