add getRole function to user model