modified controller files and added some views