Regenerated model from new database. Applied Controller authorisation