removed old api stuff, moved to front/views/post.py