move get_user_model to method to avoid bugs with Django 1.7