replace methode getMessages by getMessageBag. getMessages is private
Fix undefined function
uses a route instead of $ _SERVER
Merge pull request #1 from Shine-neko/master

Fix undefined methode