added basic auth capability and added getStatus() method in response interface