Change remove() $user parameter to optional

Fix for #2067 

@schiesbn @icewind1991