You probably want to assert "user == memcached" before adding that user. Normally user already exists if someone want's it to be something else than memcached