changed post form UI and add some function