Fixed so pilots and planes page works correctly to add a new entry