Added logout option.