Created post respurce and updated index and show views