Fixed ecurity issue - logged in user could be switched.