Fixed deprecation warning for Rails4
Add session migration
Fixes for header / footer