updated email validation error message
added update action to controller
added settings and dried up 'unless current user.nil?s' into elsif's current user.present?