Moved webserver remoteuser spoof code to seperate file