fixed #13

using $_POST for now. This needs to be fixed in a better way, but that requires quite some refactoring