Changed viewEvents to return all events the user is attending not just the ones they made