refactored null check on serverName and removed unnecessary call for serverNotFound method from connectToServer and removed refreshing of screen on server not found