fix login popups navigation