added afterurl
removed unneded custom redirect