Fixed realms and added default roles.