Change Titles

-added function to change name of title upon click of menu bar
-added function calls to table in index relative.