logout button added to index page