add payment
update index
add post
delete useless codes