added a register button in the search page