Use get_user_model() instead of User

This PR is the first step to replacing django's user model by a custom one. This can be independent, so ready for landing.