made some changes to controllers and some views

did some stuff in the locations controller and views