adding changes for registration