creating browse controller