Registration page functionality added