Added rudimentary user handling.