Updated preferences and set it up to actually use security