created view all and details view pages