fix route initialization and passport