Register working fine with validations