fix password hash and group issues; refactor, code style, improve documentation
fix single sign on; improve event handling; create new user if neccesary on changing the users passwort even for non-privileged users