account form with exception handler