Added login/logout functionality with passport