User edit function created. Csrf to singin_html added, user is now active on registration