work on post controller, sharing data