Updated users api security settings