new registration functionality added