Added Settings Page and implemented Session for "currentPage"