Added migrations. Fixed HTML errors.