Added JSON Routes for Index and Show in Messages Controller