updated pin create pins controller file
 added aws config to pin model