added build method to build users