added secret key and contacts model