adds validations and index route for stories