How to make the form stay secure?