setting secret key