Improving log in, beginning log out