Added form functionality to pages requiring it.