does connection check prior to login