Use the AccountLogType.LOGGED_IN instead of the hard-coded integer