add login and logoff skeletons
remove code interact lins