added button for adding new records as well as the php functionality for it