fixed undefined reference in CurrentUser in the window session