Adapts routes file and application methods to meet session id requirements