new http post method implemented and general bug corrections