fixed issues with devise auth&password recovery