added code for admin previlages on article index page