initializing registration form and data correctly now