fixed regex bug where the user id wasnt captured correctly