add exception to get methods to return code 404 'not found'