Removed some dead code
More code movement
Removed localNoCurrent for error handling
Move session header logic to yarToResponse