setup config on registration page too