Substituted deprecated split() by explode()
Only offer password reset when notifications enabled