Changed security to non actor way because akka is bad