Refactor login reset models and views.