dynamically assign roles to anonymous user