redesign the front-end,database,php,add error-tips