fix security controller (methods add to entity)