Changed unregisterUser parameters to userId