Added support for custom User model

Unfortunately I have to drop migrations for this support