Working on the table view on the main page