Fixed the migration errors on user login action.