Got it to convert user details into binary