add cancel button for register

add cancel button for register