Now storing instance_id in instance variable of controller class