fixed get and post bugs
added a but html and js