added few more fucntion like edit,add,delete to post and views too