Added download funcion for the create post