How to pre-populate registration form?