add registration button
remove var_dump is_agency
add owner id to autofill
Save username and fix encoding