creating cats into the database and showing them on the index page