app can process submit buttons