update treasures#create to return errors on failed creation
update captain treasure view to display errors
add condition of captain to pirates#create