edited reg pages for steps 2 and 3 and server side flow