created controller & modified routes