updated for secret key on dev and test