editted reset_password.ctp & beforeFilter