begin to check the function of every part.

- NEW : add the method for debugging information
- FIX : fix the method of setting contact details