[update] can update password and userdata on DB

added the functions and a field for email;
[refactor] Errorhandling and parallelizing