getUser scripts moved to section