added event which allows event listeners to modify the output data after successful login