Making the messages controller RESTful
Formatting the routes