updating registration form with role fieldlist and inserting corresponding role_id in database