committing for code for logout functionality working correct after change