Added support to store data
added post controller