Change Role type to HttpType