power:add log out action
power:remove duplicat functions in C
power:restart daemon