I have some problems with authentication users with my API. I have installed Passport and I\'m trying to return json object if user is not authenticated. I have created midd