Managed to register a user correctly , with password hashed. A lot of code editing here...