Logout functionality has been added.