fixes authentication with put route