added check for logged in on alternate buttons.