grab user's information and change it to JSON format.