finish register-cancel button implementation in subject page