Add redirectToReferer method