added 201 and 409 HTTP status codes