added singout logic with button component