Added error message to insert page