#!/bin/sh
while who | grep "$1" > /dev/null
do
	sleep 5
done
echo $1 logged out
