set owner of routine when use is logged in