>make sure the function is called (and therefore the form displayed) only for non-logged in users.
This I do but the message next to Verify Password: "please input your password again" is showing up when the form builds up. It does not have to show. It seems some code is executed when showing it up. How to prevent that? Also - how to set up the "next" link where the user goes after register? Now it goes to "profile" but I want to go to my own My Info page. How to do that?