added login authentication for passport