create post admin functions