added autoredirect to tab.html