Added 'on click' event to register now button