login popup, template and registration form