change add.html to add_resourse.html, and more createResourse function to resourse.js