finished authentication and added car function