added more functionality between the pages