Changes in output error 404 and add output message for error 405