Removes a few debugging functions. Adds url decoding to make sure created posts are properly written. Adds real authentication code