properly remembering username password on logout