added template code to browse page