changing api js file and configuring first new card save button
adding csrf tokens to new card post event