Added network check on login click listener

Found a little bug on login screen activity.