Hi,
I see. Please check this topic: Registration and automatic login - #4 by andrii
I believe this will be useful to you.