Updated adduser to check for existing user and use password hashing