Replace login and registration popups for static pages