Remove deprecated django.conf.urls.defaults import
Replace deprecated User.message_set with django messages framework
Use get_user_model, remove UNUSABLE_PASSWORD import