Registeration functionality added