Changes to Post, added basic authentication