display status of task in index page