Moving resetpass to controller/view