making logins end with browser close