Finish log out functionality.