added authentication for wfs post
added authentication and error handling and other improvments