form submission works in front and server side both