Creating component

Hi, i am trying to write a openfire plugin which adds component. It is working nice. I can get iq packets to component. But user have to login to use the service i created. If user is not logged but connected to server, user gets “bad-request” respond. Is there any way to adjust component to work without user login. I want this because i am trying to create user-register service.

Btw this is my first plugin so any information can help.

Thank you.