You need to determine when the actual connection takes place. If your network connection actually connects AFTER the user logs on then its not going to work too well. You'd need some type of delayed start that is triggered after the network connection is made, otherwise you need the IP connection to be able to work BEFORE or at least DURING the user log on.