Made changes to controller class for rent media interface