updated reconnect to server to match new login procedure, created
AbstractLoginActivity