Redirects after successful login?

Hi, I'm again
i created a welcome page and through the welcome page that redirects to login page.after successfully login the welcome page appears again. what was the problem and its solution to remove that?

There is some example code in my package zopyx.usersascontent: