return to previous page after user add or edit