implemented Log out button
update