added alert on index page