started adding passport authentication code