add and check permissions for addServer (testing); add a few hook-calls

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>