better login handling, added context sensitive side meu