migrations and account models fix