database connect not right yet