Working on implementing mongoose and the register command.