refactor configuration, change passport strategy