add feature for the register button

add feature for the register button for the medium and small size