adding POST function and changing around logging function
fixing up overlay positioning a little