Added new post form, implemented new post function