api access to subject ability
add ability getting function to subject object