remove debug() and //redirect() in user index