Define view and frontpage