Add log out functionality