Added passport and login functionality.