Updated POSt functionality to /add route