remove the redirect from the index method