Changed secret key and moved to config