fixed devise with secret key