fixed a problem in log with secret key in devise