added passport init and other middleware necessary