fix user update file locations
update index template for logged in username display
fix register.script