fixed notloggedin login popup bug