Made so date comes from database and works

charge car is not implemented yet