Removed the need for messages.html and piped it to detail.html instead