fix Get available badges with userid and requirements