added password reset auth. added login persistence