added submit jandler, and switched back to base64