Finishes log out