correct logging
cleaned up, little fixes
added POST template