fixed % in template, finction get_user() because logname rerutns roos also after su
removed pushd/popd output