fixing devise bug in secret key