Added signing out code