Got sign up command working by unit testing and fixing.