Function for Registration has been added