fixed log-in/log-out directory