added attachment handling to feedback controller