Added register functionality to the page
Added register endpoint URL
Added register functionailty in page