modifying logout