Functioning Login and Register New User and Vehicle functionalities (DB connection).