making logout equations look better