Added status code to response object
Implemted response object