added ajaz stuff
accidentally had GET instead of POST for ajax function
finalized  pairings  functionality
 forgot to add documentation file