Added handler for submit page