added a secondary registration functionality