Added ability to query Events by parameters such as username, type, from, and to