built token system for generating a reset password link. Tokens logging and working