StatusCodes constants

I replaced int status code values like: 500, 200, 404, etc with constant values from StatusCodes util class.
These values were used, but not in all places.
Thank you.