add add photo function and redesign some htmls