updated json parser in User