Moved database selection to connect.php