map json to user class