added some client-server tests to check for userId