Added MAC address validation during registering