Made minor changes to API status codes