add manager management

:)
... comes with some ugly javascript code