changed back to form and post, moved default into serve