CSRF authenticity and flash implemented
Added url helpers using define methods when controllers are created