If you're having an app on facebook (tab or canvas) . PHP SDK only get the User ID on initial loading of a page because a signed_request is sent with the request to your app.
The way I am seeing this is, you are trying to avoid that refresh if the user is not logged in and precedes to log in after the page has initially loaded. So what you can do is make an ajax request to another page on your site, say for example id. Php, which just loads the php sdk and echo $userid; and then you can grab the user id after login without the refresh.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.