Added code for the view of the first page