sign out button implemented, as well as helper