write post functions

still need to code for all of y's sidebar buttons