Add basic user support

Simple user and permissions management - mainly to enable the creation of read-only users.