added connection & base functional with php server