Implemented support for multiple users and fixed broken tests

Should `ProfileDirectory` be gettable only?