Improved access control mechanism in vehicular ad hoc networks