Support for Django 1.5 custom user model

I've added support for Django 1.5 custom user model