admin page displayed in index page without clicking admin tab corrected