converted all items in the navbar to use AJAX