Add 401 response if not logged in