RJS problem for redirect from controller

I have one RJS file in which i am updating multiple multiple divs.if user loged in then i am render one page.if user not loged in i am rendering siginin form page.

MY RJS file:step5.rjs