added automagic SECRET_KEY generation