removed check_first.php and fixed formatting for getConnection.php