Add authorization, modify POST commands