updated index, create, store & show methods - implemented validator