small adaption to event-based authentication
added symfony security as dependency