Added logut option.