Added to Register class and modified the register method. Currently
having trouble validating newly registered Member, probably a minor
problem somewhere. I'll work on it later.