Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()