added header/Fixed minor bugs/Check Request MEthod