Login and register popups working