Adding preferences and security forms