Added proper status to http responses