Bugfixes in Client interface and CustomUser storage