How to Embed swf into another swf

Hi All,
I have created home page.fla and login.fla
I want to display both swf in a single page, so I created movieclips and loaded the swf and displayed. But My doubt is: I want to login, after the successfull login only I have to see the homepage. Otherwise it ill be in a inactive mode.
How to do this?
Thanks in advance