Fix the notice for undefined index user_id
substitute fields in registration form except in profile loop. props sbrajesh