Set user role on register

Thank for sharing.