added authentication and passport