Added code for modifying users
Mainly added on/off and success state to access events - success is
now communicated through that flag -> also added to the user page in
the web interface.
Merge pull request #2 from rnatau/master

not thorougly reviewed.