Added ability to create or join group upon registration.