Adds a method that removes a HashMap entry by a given userId