added method to get events created by given user