Creating a 200 response on index action