refactor user and ssh