Added proper HTTP responses