Hide and changed the secret key

Secret key now needs to be given as an eviroment variable.
Added delete post
Made some tests