added support for User model