fix login issue with missing user model