Register Button functionality implemented