Differentiated setPassword and register