Is there any better way to do it? I'm a bit sceptical about the approach we adopted?
Shane, What are you trying to accomplish by hiding the address bar? The subject hints at security. There is not security in hiding this from the user as a sophisticated user or hacker can still get it.