code formatting
rename http response methods and move them into private category