Added network check on login click listener