Add the login logout thing.