Add implementation for getRole