revert code for logout link