move off php for now and some etc. below

works with non-test getuser request on rtdev; other tweaks for the tsm
form running