implemented custom styles for success and error message when submission done