fix task association to captain
fix pirate association to captain
add pirate routes
add show and find_captain actions to pirates controller