Added method redirect back. Updated router. Added client code of redirect.