controlled some more actions based on log in state