fixes for passport routes