Feature/fix register

Noticed that register still sent the password in plaintext