added in session hashes correctly and got it to persist when going back to index page from show