clean unused view and add password reset function