created view for cook page