register button click added