Echo.UserSession - employing "onError" callback to handle the error response, updating tests (removing try-catch)