Form not working when made Secure